// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import VueResource from 'vue-resource'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-default/index.css'
import Viewer from 'v-viewer'
import infiniteScroll from 'vue-infinite-scroll'
// import { setMetaTitle } from '../lib/title.js' 
require('video.js/dist/video-js.css')
require('vue-video-player/src/custom-theme.css')
import VueVideoPlayer from 'vue-video-player'
//import $ from 'jquery'

//使用iview框架
// import iView from 'iview';
// import 'iview/dist/styles/iview.css';
// Vue.use(iView);
//import InfiniteLoading from 'vue-infinite-loading';
Vue.use(VueVideoPlayer)
Vue.use(Viewer)
Vue.use(infiniteScroll)
Vue.config.productionTip = false
// Vue.use(VueAwesomeSwiper)
Vue.use(VueResource)
Vue.use(ElementUI)
/* eslint-disable no-new */

new Vue({
  el: '#app',
  router,
  template: '<App/>',
  components: { App }
})
